﻿<div class="layui-fluid" style="padding: 0px;">
<form id="modelBizModelParamForm" lay-filter="modelBizModelParamForm" class="layui-form model-form" style="padding:5px;">
<input  name="id"  type="hidden" class="layui-input" value="#(bizSceneModel?bizSceneModel.id:'')">
<input id="modelBizSceneModelType"  name="type"  type="hidden" class="layui-input" value="#(bizSceneModel?bizSceneModel.type:'')">
<input  name="posX"  type="hidden" class="layui-input" value="#(bizSceneModel?bizSceneModel.posX:'')">
<input  name="posY"  type="hidden" class="layui-input" value="#(bizSceneModel?bizSceneModel.posY:'')">
<input  name="posZ"  type="hidden" class="layui-input" value="#(bizSceneModel?bizSceneModel.posZ:'')">
<table class="formTable">
	<tr>
		<td>名称</td>
		<td colspan="2">
          	<input  name="name"   type="text" class="layui-input" value="#(bizSceneModel?bizSceneModel.name:'')" />
        </td>
	</tr>
	<tr>
		<td>经度</td>
		<td colspan="2">
          	<input id="translationForModelPosX" name="posX" readonly="readonly"  type="number" class="layui-input" value="#(bizSceneModel?bizSceneModel.posX:0)" />
        </td>
	</tr>
	<tr>
		<td>纬度</td>
		<td colspan="2">
          	<input id="translationForModelPosY" name="posY"  readonly="readonly"   type="number" class="layui-input" value="#(bizSceneModel?bizSceneModel.posY:0)" />
        </td>
	</tr>		
	<tr>
		<td>高度</td>
		<td colspan="2">
          	<input id="translationForModelPosZ" name="posZ"   type="number" class="layui-input" value="#(bizSceneModel?bizSceneModel.posZ:0)" />
        </td>
	</tr>
	<tr>
		<td>GPU内存量</td>
		<td colspan="2">
          	<input id="maximumMemoryUsage" name="maximumMemoryUsage" min=512  type="number" class="layui-input" value="#(bizSceneModel?bizSceneModel.maximumMemoryUsage:512)" />
        </td>
	</tr>	
	<tr>
		<td>空间容错</td>
		<td colspan="2">
          	<input id="maximumScreenSpaceError" name="maximumScreenSpaceError" min=0  type="number" class="layui-input" value="#(bizSceneModel?bizSceneModel.maximumScreenSpaceError:16)" />
        </td>
	</tr>	
	<tr>
		<td>先加载叶子</td>
		<td colspan="2" style="text-align: left;">
	      <select name="preferLeaves" lay-filter="preferLeaves"  lay-verify="required" required>
	        <option value="0" #if(bizSceneModel && bizSceneModel.preferLeaves=='0')  selected #end>否</option>
	        <option value="1" #if(bizSceneModel && bizSceneModel.preferLeaves=='1')  selected #end>是</option>
	      </select>
        </td>
	</tr>	
	<tr>
		<td>俯仰角</td>
		<td colspan="2" style="padding-left: 15px;">
			<div id="rotateForModelPitch-slide" class="demo-slider"></div>
			<input id="rotateForModelPitch-input" name="pitch"   type="hidden" class="layui-input" value="#(bizSceneModel?bizSceneModel.pitch:0)">
        </td>
	</tr>
	<tr>
		<td>偏航角</td>
		<td colspan="2" style="padding-left: 15px;">
			<div id="rotateForModelHeading-slide" class="demo-slider"></div>
			<input id="rotateForModelHeading-input" name="heading"   type="hidden" class="layui-input" value="#(bizSceneModel?bizSceneModel.heading:0)">
        </td>
	</tr>
	<tr>
		<td>翻滚角</td>
		<td colspan="2" style="padding-left: 15px;">
			<div id="rotateForModelRoll-slide" class="demo-slider"></div>
			<input id="rotateForModelRoll-input" name="roll"   type="hidden" class="layui-input" value="#(bizSceneModel?bizSceneModel.roll:0)">			
        </td>
	</tr>	
	<tr>
		<td colspan="3" style="text-align: right;">
	      <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
          <button class="layui-btn" lay-filter="modelBizSceneModelSubmit" lay-submit>保存</button>
		</td>
	</tr>		
</table>  
</form>
</div>